import Vue from 'vue'
import App from './App.vue'
import '@/assets/main.scss'
// import ECharts from 'vue-echarts'
// import chinaMap from '@/assets/china.json'
import axios from 'axios'
import router from './router'
import 'element-ui/lib/theme-chalk/index.css';

Vue.prototype.$http = axios
Vue.config.productionTip = false

import { Message } from 'element-ui'
Vue.prototype.$message = Message

// ECharts.registerMap('china', chinaMap)
// Vue.component('chart', ECharts)

import echarts from 'echarts'

Vue.prototype.$echarts = echarts

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
